<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>jq</title>
	<script src="jquery.js"></script>
</head>
<body>
	<div>
		<div>
			<button>点击</button>
		</div>
	</div>	

	<div>
		<div>
			<div>
				<h1>aaaaaaaaaa</h1>
				<h1>aaaaaaaaaa</h1>
				<p>ssssssss</p>
			</div>
		</div>	
	</div>
	
	<hr>
	
	
</body>

<script>

	
	$('button').click(function(){
		$(this).parent().parent().next().children().children().children().css({'color':'#00f'})
	});

</script>
</html>